/**
 * errors_check.h
 *
 *  Created on: Feb 15, 2011
 *      Author: marco
 */

#ifndef ERRORS_CHECK_H_
#define ERRORS_CHECK_H_
#define MALLOC(m,s,t); m = malloc(s * sizeof(t)); if(m == NULL) { errno = ENOMEM; return NULL;}
//#define MALLOC(m,s); if (m = malloc(s * sizeof(t) == NULL) { errno = ENOMEM; return NULL;}



#endif /* ERRORS_CHECK_H_ */
